#include "drawable.h"

Drawable::Drawable ( Sprite* _sprite ) {       //#D
   sprite = _sprite;
   posRect = new Rect();
   posRect->w = sprite->getGeometry()->w;
   posRect->h = sprite->getGeometry()->h;
}

void DrawableList::add ( Drawable* drawable) {	   //#D
   List::add ( (Listable*) drawable ); 
}

Drawable * DrawableList::iter () {     //#D
   return ( Drawable* ) List::listIter ();
}
